package com.ruicar.afs.cloud.common.modules.dto.mq.approve;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>Description: </p>
 *
 * @author ZC.GUO
 * @version 1.0
 * @date create on 2020-05-13 18:41
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CaseBaseInfoDto implements Serializable {
    /**
     * 申请编号
     */
    @JSONField(name = "applyNo")
    private String applyNo;
    /**
     * 业务类型;新车、二手车
     */
    @JSONField(name = "businessType")
    private String businessType;
    /**
     * 主体属性
     */
    @JSONField(name = "custType")
    private String custType;
    /**
     * 运营方式
     */
    @JSONField(name = "operateWay")
    private String operateWay;
    /**
     * 车辆类型
     */
    @JSONField(name = "carType")
    private String carType;
    /**
     * 车辆属性
     */
    @JSONField(name = "carNature")
    private String carNature;
    /**
     * 挂靠方式
     */
    @JSONField(name = "affiliatedWay")
    private String affiliatedWay;
    /**
     * 购车目的
     */
    @JSONField(name = "carPurpose")
    private String carPurpose;
    /**
     * 产品ID
     */
    @JSONField(name = "productId")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long productId;
    /**
     * 产品名称
     */
    @JSONField(name = "productName")
    private String productName;

    /**
     * 是否电子签yes/no
     */
    @JSONField(name = "automaticTag")
    private String automaticTag;
    /**
     * 备注
     */
    @JSONField(name = "remarks")
    private String remarks;
    /**
     * 资产变更冗余数据
     */
    @JSONField(name = "changeAssetsRepeat")
    private String changeAssetsRepeat;
    /**
     * 累加贷款总额
     */
    @JSONField(name = "totalLoanAmt")
    private BigDecimal totalLoanAmt;

    /**
     * 版本
     */
    @JSONField(name = "version")
    private String version;

}